package com.micheal.mybatis.self;

import com.micheal.mybatis.self.mapper.Test;
import com.micheal.mybatis.self.mapper.TestMapper;

/**
 * Created by micheal on 2018/4/10/0010.
 */
public class Bootstrap {

    public static void main(String[] args) {

        MicSqlSession sqlSession = new MicSqlSession(new MicConfiguration(), new MicSimpleExecutorImpl());
        TestMapper mapper = sqlSession.getMapper(TestMapper.class);
        Test test = mapper.selectByPrimaryKey(1);
        System.out.println(test);
    }

}
